enum EQUIP_LIST
{
    SHIELD = 0,
    HAT,
    SWORD,
    PANTS,
    SHIRT,
    SHOES
}
global.equipment = 0;
var sword = instance_create(0,0,obj_Equipment);
var swordEffects = 0;
swordEffects[STAT_EFFECTS.HP] = 0;
swordEffects[STAT_EFFECTS.PHYS_ATK] = 5;
swordEffects[STAT_EFFECTS.PHYS_ARMOR] = 0;
swordEffects[STAT_EFFECTS.SPEED] = 0;
swordEffects[STAT_EFFECTS.SPEC_ATK] = 0;
swordEffects[STAT_EFFECTS.SPEC_ARMOR] = 0;
equipmentConstructor(EQUIPMENT.MAIN_HAND, swordEffects, sword);

var hat = instance_create(0,0,obj_Equipment);
var hatEffects = 0;
hatEffects[STAT_EFFECTS.HP] = 0;
hatEffects[STAT_EFFECTS.PHYS_ATK] = 0;
hatEffects[STAT_EFFECTS.PHYS_ARMOR] = 0;
hatEffects[STAT_EFFECTS.SPEED] = 0;
hatEffects[STAT_EFFECTS.SPEC_ATK] = 5;
hatEffects[STAT_EFFECTS.SPEC_ARMOR] = 0;
equipmentConstructor(EQUIPMENT.HEAD, hatEffects, hat);

var shoes = instance_create (0,0,obj_Equipment);
var shoeEffects = 0;
shoeEffects[STAT_EFFECTS.HP] = 0;
shoeEffects[STAT_EFFECTS.PHYS_ATK] = 0;
shoeEffects[STAT_EFFECTS.PHYS_ARMOR] = 0;
shoeEffects[STAT_EFFECTS.SPEED] = 5;
shoeEffects[STAT_EFFECTS.SPEC_ATK] = 0;
shoeEffects[STAT_EFFECTS.SPEC_ARMOR] = 0;
equipmentConstructor(EQUIPMENT.FEET, shoeEffects, shoes);

var pants = instance_create (0,0,obj_Equipment);
var pantEffects = 0;
pantEffects[STAT_EFFECTS.HP] = 0;
pantEffects[STAT_EFFECTS.PHYS_ATK] = 0;
pantEffects[STAT_EFFECTS.PHYS_ARMOR] = 0;
pantEffects[STAT_EFFECTS.SPEED] = 0;
pantEffects[STAT_EFFECTS.SPEC_ATK] = 0;
pantEffects[STAT_EFFECTS.SPEC_ARMOR] = 5;
equipmentConstructor(EQUIPMENT.LEGS, pantEffects, pants);

var shirt = instance_create (0,0,obj_Equipment);
var shirtEffects = 0;
shirtEffects[STAT_EFFECTS.HP] = 5;
shirtEffects[STAT_EFFECTS.PHYS_ATK] = 0;
shirtEffects[STAT_EFFECTS.PHYS_ARMOR] = 0;
shirtEffects[STAT_EFFECTS.SPEED] = 0;
shirtEffects[STAT_EFFECTS.SPEC_ATK] = 0;
shirtEffects[STAT_EFFECTS.SPEC_ARMOR] = 0;
equipmentConstructor(EQUIPMENT.CHEST, shirtEffects, shirt);

var shield = instance_create (0,0,obj_Equipment);
var shieldEffects = 0;
shieldEffects[STAT_EFFECTS.HP] = 0;
shieldEffects[STAT_EFFECTS.PHYS_ATK] = 0;
shieldEffects[STAT_EFFECTS.PHYS_ARMOR] = 5;
shieldEffects[STAT_EFFECTS.SPEED] = 0;
shieldEffects[STAT_EFFECTS.SPEC_ATK] = 0;
shieldEffects[STAT_EFFECTS.SPEC_ARMOR] = 0;
equipmentConstructor(EQUIPMENT.OFF_HAND, shieldEffects, shield);

global.equipment[EQUIP_LIST.SHIELD] = shield;
global.equipment[EQUIP_LIST.HAT] = hat;
global.equipment[EQUIP_LIST.SWORD] = sword;
global.equipment[EQUIP_LIST.PANTS] = pants;
global.equipment[EQUIP_LIST.SHIRT] = shirt;
global.equipment[EQUIP_LIST.SHOES] = shoes;